New functions to set the colormap or visual of an existing widget. These
authorOwen Taylor <otaylor@redhat.com>
Tue, 26 Jan 1999 01:15:47 +0000 (01:15 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Tue, 26 Jan 1999 01:15:47 +0000 (01:15 +0000)
commitdf403d5908f398a729671b295abc3948d047b658
tree1c1a1e284cf0d9f185b8565722269172d36b5bf6
parent65dd58ffa32006f6d3f76a822d632796160a3d65
New functions to set the colormap or visual of an existing widget. These

Mon Jan 25 20:05:22 1999  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkwidget.c (gtk_widget_set_{visual,colormap}):
New functions to set the colormap or visual
of an existing widget. These functions should not
be called on a widget that has previosly been
realized.

* gtk/gtkcolorsel.c (gtk_color_selection_dialog_init):
Set the visual and colormap on the toplevel dialog,
then push them for the child widgets. As opposed
to push/pop in _new(), this way, things will work
properly with gtk_widget_new().
gtk/gtkcolorsel.c
gtk/gtkwidget.c